package com.bazaaroid.server.gae.core.dao.partner;

import java.util.List;

import com.bazaaroid.server.gae.core.dao.GenericDAO;
import com.bazaaroid.server.gae.core.persistence.model.partner.Discount;
import com.bazaaroid.server.gae.core.persistence.model.partner.Product;
import com.google.appengine.api.datastore.Key;

public interface DiscountDAO extends GenericDAO<Discount, Key> {

	Discount getDiscountByProduct(Product product);

	void importDiscountsFromFile(String filePath);

	List<Discount> findActiveDiscounts();

}
